<?php 
/**
 *  callServer API
 */
namespace Client\Common;

use Zend\Log\Logger;
use Zend\Log\Writer\Stream;

class LoggerHelper
{ 
   public static function client_exception(\Exception $e) {
       $logger = new Logger;
       $logger->addWriter(new Stream('data/logs/client_exception.log'));
       $logger->err($e->getMessage()." Code:".$e->getCode()." File:".$e->getFile()." Line:".$e->getLine());
   }
   
}